import React, { Component, createContext } from "react";

const themes = {
    light: {
        foreground: '#ffffff',
        background: 'red'
    },
    dark: {
        foreground: '#000000',
        background: 'blue'
    },
};
const BatteryContext = createContext(themes.dark);
const {Provider, Consumer} = BatteryContext;

export {Provider, Consumer, themes, BatteryContext};
